﻿@model CalligraphyWeb.Models.LoginModel

@{
    ViewBag.Title = "Log in";
}

<div class="content">
    <div class="ic"></div>
    <div class="container">
        <div class="row">
            <article class="span12">
                <h3>@ViewBag.Title.</h3>
                <h4>Use a local account to log in.</h4>
                <div class="inner-1">
                    @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
                    {
                    @Html.AntiForgeryToken()
                    @Html.ValidationSummary()

                    <fieldset>
                        <legend></legend>
                        <div>
                            <label class="username">
                                @Html.LabelFor(m => m.UserName)
                                @Html.TextBoxFor(m => m.UserName)
                                @Html.ValidationMessageFor(m => m.UserName)
                            </label>
                            
                        </div>
                        <div>
                            <label class="password">
                                @Html.LabelFor(m => m.Password)
                                @Html.PasswordFor(m => m.Password)
                                @Html.ValidationMessageFor(m => m.Password)
                            </label>
                            
                        </div>
                        <div>
                            <label class="password">
                                @Html.CheckBoxFor(m => m.RememberMe)
                                @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })
                            </label>
                             
                        </div>
                        <div class="buttons-wrapper">
                            <input type="submit" value="Log in" class="btn btn-1" /></div>
                    </fieldset>
                }
                </div>
                 <p>
                    @Html.ActionLink("Register", "Register") if you don't have an account.
                </p>
                
            </article>
        </div>
    </div>
</div>


@section Scripts {
    
}
